
	function InitNotification(unreadNotificationsCount){
		var counterNumberElem = $('span#counter strong');
		counterNumberElem.text(unreadNotificationsCount);
		if (unreadNotificationsCount >= 0){
			counterNumberElem.show();
		}
		else{
			counterNumberElem.hide();
		}
	}

	function SetNotificationsAsRead(rootPath){
		var serviceUrl =rootPath + "users/setNotificationsAsRead"; 
		$.post(serviceUrl);
		
		//Remove unread class
		var unreadAnchors = $("ul li a.unread");
		unreadAnchors.removeClass("unread");
	}
